package com.wanwu.channel.remote.wxpay.vo;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName WechatPayQueryRespVo
 * @Description 微信支付结果查询返回
 * @Author husheng
 * @Date 2020-01-04 14:21
 */
@Data
public class WechatPayQueryRespVo extends WechatBaseRespVo {

    //以下要素在resultCode为SUCCESS时返回
    private String tradeType;

    private String tradeState;

    private String bankType;

    private Integer totalFee;

    private String feeType;

    private String transactionId;

    private String outTradeNo;

    private String attach;

    private String timeEnd;

    private String tradeStateDesc;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
